import { Module, SetMetadata } from "@nestjs/common";
import { MODULE_PATH } from "@nestjs/common/constants";
import { TypeOrmModule } from "@nestjs/typeorm";
import { WeappGoodsController } from "./goods.controller";
import { WeappGoodsService } from "./goods.service";
import { Goods } from "/@/entities/goods/Goods.entity";
import { GoodsType } from "/@/entities/goods/GoodsType.entity";
import { Collect } from "/@/entities/operate/Collect.entity";

@Module({
  imports: [TypeOrmModule.forFeature([Goods, GoodsType, Collect])],
  controllers: [WeappGoodsController],
  providers: [WeappGoodsService],
  exports: [WeappGoodsService],
})
@SetMetadata(MODULE_PATH, "/weapp")
export class WeappGoodsModule {
  //
}
